package domain;

import dome.Cat;

public class Dome2 {
    public static void main(String[] args) {
        Cat cat1 = new Cat();
        System.out.println(cat1.name);
        System.out.println(cat1.address);
        System.out.println(cat1.height);
        System.out.println(cat1.age);
        cat1.show();
        Cat cat2 = new Cat();
        cat2.name = "哈哈";
        cat2.address = "洪荒";
        cat2.height = 180.0;
        cat2.age = 1000;
        System.out.println(cat1.name);
        System.out.println(cat1.address);
        System.out.println(cat1.height);
        System.out.println(cat1.age);
        cat2.show();
        Cat cat3 = new Cat("嘻嘻");
        cat3.show();
        Cat cat4 = new Cat("嘻嘻" , "武汉");
        cat4.show();
    }
}
